<%=t('general.name')%><br />
<%= form.text_field :name, :class=>"validate[required] text-input" %><br />
<br />
<%=t('login.userid')%><br />
<%= form.text_field :login, :class=>"validate[required] text-input" %><br />
<br />
<%=t('general.email')%><br />
<%= form.text_field :email, :class=>"validate[required,custom[email]] text-input" %><br />
<br />
<%=t('login.password')%>
<%=password_field_tag "password", '',:class=>"validate[required] text-input", :id=>"password"%>
<br />
<%=t('login.confirm_pwd')%>
<%=password_field_tag "confirm_password", '',:class=>"validate[required,equals[password]]", :id=>"password"%>
<br />
<%if @value == 3%>
<h3><%=t('general.sel_subjects')%><</h3>
<ul>
    <% @subjects.each do |subject| %>
		  <%= check_box_tag "subject[]", subject.id,false,:class=>"validate[minCheckbox[1]]" %>
          <%= h subject.name -%>
    <% end %>
</ul>


<%end%><br /><br />

<%= form.hidden_field :role_id, :value => @value %>
<%= form.hidden_field :is_approved, :value => 1 %>

 
